<div md-subheader class="task-header">
  <div>
    <h3>{{header}}</h3>
  </div>
  <div class="fill">
    <button md-button type="button" (click)='OnNewClickTask()'>
      <md-icon>add_circle_outline</md-icon>
      <span>新任务</span>
    </button>
  </div>
  <button md-icon-button [mdMenuTriggerFor]="menu">
    <md-icon>keyboard_arrow_down</md-icon>
  </button>
 </div>

<md-menu #menu="mdMenu">
  <button md-menu-item (click)="onAmendDialogClick()">
    <md-icon>mode_edit</md-icon>
    <span>修改列表名称</span>
  </button>
  <button md-menu-item (click)="onCopyDialogClick()">
    <md-icon svgIcon="move" class="material-icon"></md-icon>
    <span>移动本列表所有内容</span>
  </button>
  <button md-menu-item (click)="onDeleteDialogClick()">
    <md-icon>delete</md-icon>
    <span>删除列表</span>
  </button>
</md-menu>